
package main

import (
	"log"
	"net/http"
)

func main() {
	// 设置静态文件目录（默认./static）
	fs := http.FileServer(http.Dir("js-pytorch-develop/assets"))
	http.Handle("/", fs)

	// 启动服务器
	log.Println("Server started on http://localhost:8080")
	log.Fatal(http.ListenAndServe(":8080", nil))
}


// go run webServer.go